public class SaleEmployee  extends Employee {

    public SaleEmployee(int id, String name, double wage) {
        super(id, name, wage);
    }

    public SaleEmployee() {
    }

    @Override
    public double work() {

        System.out.println("销售人员work执行成功收入为："+(+wage +((int)(Math.random()*10000))*0.03));
        return wage +((int)(Math.random()*10000))*0.03;
    }
}
